package middol.upload.impl

import groovy.transform.CompileStatic
import middol.result.Result
import middol.upload.IFileInfo
import middol.upload.IUploadHandler
import org.springframework.stereotype.Component

/**
* @Description:    FTP 文件上传
* @Author:         zhangjiayu@middol.com
* @CreateDate:     2020/10/22 9:40
* @Version:        1.0
*/
@Component
@CompileStatic
class FTPUploadHandler implements IUploadHandler{
    static final String name = "FTP"

    @Override
    List<Result> handleUpload(IFileInfo fileInfo) {
        println "FTP upload file"
    }
}
